package com.dff.jrfw;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import androidx.databinding.DataBindingUtil;

import com.dff.jrfw.databinding.ActivityFaceSetBinding;

public class FaceSetActivity extends BaseActivity implements View.OnClickListener {

    private ActivityFaceSetBinding binding;

    public static void callMe(Context context) {
        Intent intent = new Intent(context, FaceSetActivity.class);
        context.startActivity(intent);
    }

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        binding = DataBindingUtil.setContentView(this, R.layout.activity_face_set);
        initView();
    }

    private void initView() {
        binding.tvTipOne.setText("可通过验证系统记录\n快速完成登录");
        binding.btnOpenFace.setOnClickListener(this);
        binding.btnJump.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()) {
            case R.id.btn_open_face:

                break;
            case R.id.btn_jump:
                finish();
                break;
        }
    }

}